package graph.directedgraph.orthogonallist;

public class OrthVexNode {
    private String data;
    private OrthEdgeNode firstIn;
    private OrthEdgeNode firstOut;

    public OrthVexNode() {
    }

    public OrthVexNode(String data) {
        this.data = data;
    }

    public OrthVexNode(String data, OrthEdgeNode firstIn, OrthEdgeNode firstOut) {
        this.data = data;
        this.firstIn = firstIn;
        this.firstOut = firstOut;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public OrthEdgeNode getFirstIn() {
        return firstIn;
    }

    public void setFirstIn(OrthEdgeNode firstIn) {
        this.firstIn = firstIn;
    }

    public OrthEdgeNode getFirstOut() {
        return firstOut;
    }

    public void setFirstOut(OrthEdgeNode firstOut) {
        this.firstOut = firstOut;
    }
}
